home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _70F9504A40834FD4BFACB10ED3CE9CCC < prev    next >
Encoding:
Text File  |  2002-06-15  |  8.8 KB  |  422 lines

  1. {
  2.     \\ NETWORK MENU \\
  3.  
  4.     menuDef 
  5.     {
  6.         name        "setup_network_menu"
  7.         visible        0
  8.         fullscreen    0
  9.         rect        50 110 432 254
  10.         focusColor    .49 .56 .27 1
  11.         style        WINDOW_STYLE_FILLED
  12.  
  13.         itemDef 
  14.         {
  15.             name        rate_network            
  16.             style        WINDOW_STYLE_FILLED    
  17.             text        "Rate:"
  18.                type        ITEM_TYPE_MULTI    
  19.             cvar        "rate"
  20.             rect        50 20 300 15
  21.                textalign    ITEM_ALIGN_RIGHT
  22.                textalignx    125 
  23.                textaligny    -1
  24.             textfont    "hud"
  25.             textscale    .45
  26.             forecolor    .12 .14 .08 1
  27.             backcolor    0 0 0 0
  28.                visible        1
  29.  
  30.             cvarFloatList 
  31.             { 
  32.                 "Modem 33.6k"    2500
  33.                 "Modem 56k"        4500
  34.                 "Single ISDN"    5000
  35.                 "Dual ISDN"        8000
  36.                 "DSL"            9000
  37.                 "Cable"            10000
  38.                 "T1"            11000
  39.                 "LAN"            20000
  40.             }
  41.  
  42.             action 
  43.             { 
  44.                 play "sound/misc/menus/select.wav" ; 
  45.             }
  46.             mouseEnter 
  47.             { 
  48.                 play "sound/misc/menus/hilite1.wav" ; 
  49.                 setitemcolor rate_network backcolor .12 .14 .08 1
  50.                 setitemcolor rate_network forecolor .49 .56 .27 1
  51.             }
  52.               mouseExit 
  53.             { 
  54.                 setitemcolor rate_network forecolor .12 .14 .08 1
  55.                 setitemcolor rate_network backcolor 0 0 0 0
  56.             }
  57.         }
  58.  
  59.         itemDef 
  60.         {
  61.             name        maxfps_network            
  62.             style        WINDOW_STYLE_FILLED    
  63.             text        "Max FPS:"
  64.                type        ITEM_TYPE_MULTI    
  65.             cvar        "com_maxfps"
  66.             rect        50 35 300 15
  67.                textalign    ITEM_ALIGN_RIGHT
  68.                textalignx    125 
  69.                textaligny    -1
  70.             textfont    "hud"
  71.             textscale    .45
  72.             forecolor    .12 .14 .08 1
  73.             backcolor    0 0 0 0
  74.                visible        1
  75.  
  76.             cvarFloatList 
  77.             { 
  78.                 "35"    35
  79.                 "45"    45
  80.                 "55"    55
  81.                 "65"    65
  82.                 "75"    75
  83.                 "85"    85
  84.                 "95"    95
  85.                 "105"    105
  86.                 "115"    115
  87.             }
  88.  
  89.             action 
  90.             { 
  91.                 play "sound/misc/menus/select.wav" ; 
  92.             }
  93.             mouseEnter 
  94.             { 
  95.                 play "sound/misc/menus/hilite1.wav" ; 
  96.                 setitemcolor maxfps_network backcolor .12 .14 .08 1
  97.                 setitemcolor maxfps_network forecolor .49 .56 .27 1
  98.             }
  99.               mouseExit 
  100.             { 
  101.                 setitemcolor maxfps_network forecolor .12 .14 .08 1
  102.                 setitemcolor maxfps_network backcolor 0 0 0 0
  103.             }
  104.         }
  105.  
  106.         itemDef 
  107.         {
  108.             name        detail_multi            
  109.             style        WINDOW_STYLE_FILLED    
  110.             text        "Show Lagometer:"
  111.                type        ITEM_TYPE_YESNO
  112.             cvar        "cg_lagometer"
  113.             rect        50 50 300 15
  114.                textalign    ITEM_ALIGN_RIGHT
  115.                textalignx    125 
  116.                textaligny    -1
  117.             textfont    "hud"
  118.             textscale    .45
  119.             forecolor    .12 .14 .08 1
  120.             backcolor    0 0 0 0
  121.                visible        1
  122.  
  123.             action 
  124.             { 
  125.                 play "sound/misc/menus/select.wav" ; 
  126.             }
  127.             mouseEnter 
  128.             { 
  129.                 play "sound/misc/menus/hilite1.wav" ; 
  130.                 setitemcolor detail_multi backcolor .12 .14 .08 1
  131.                 setitemcolor detail_multi forecolor .49 .56 .27 1
  132.             }
  133.               mouseExit 
  134.             { 
  135.                 setitemcolor detail_multi forecolor .12 .14 .08 1
  136.                 setitemcolor detail_multi backcolor 0 0 0 0
  137.             }
  138.         }
  139.  
  140.         itemDef 
  141.         {
  142.             name        antilag_multi            
  143.             style        WINDOW_STYLE_FILLED    
  144.             text        "Impact Prediction:"
  145.                type        ITEM_TYPE_MULTI
  146.             cvar        "cg_impactPrediction"
  147.             rect        50 65 300 15
  148.                textalign    ITEM_ALIGN_RIGHT
  149.                textalignx    125 
  150.                textaligny    -1
  151.             textfont    "hud"
  152.             textscale    .45
  153.             forecolor    .12 .14 .08 1
  154.             backcolor    0 0 0 0
  155.                visible        1
  156.  
  157.             cvarFloatList 
  158.             {
  159.                 "Off"                    0
  160.                 "On"                    1
  161.             }
  162.  
  163.             action 
  164.             { 
  165.                 play "sound/misc/menus/select.wav" ; 
  166.             }
  167.             mouseEnter 
  168.             { 
  169.                 play "sound/misc/menus/hilite1.wav" ; 
  170.                 setitemcolor antilag_multi backcolor .12 .14 .08 1
  171.                 setitemcolor antilag_multi forecolor .49 .56 .27 1
  172.             }
  173.               mouseExit 
  174.             { 
  175.                 setitemcolor antilag_multi forecolor .12 .14 .08 1
  176.                 setitemcolor antilag_multi backcolor 0 0 0 0
  177.             }
  178.         }
  179.  
  180.         itemDef 
  181.         {
  182.             name        allowdownload_multi            
  183.             style        WINDOW_STYLE_FILLED    
  184.             text        "Allow Download:"
  185.                type        ITEM_TYPE_YESNO
  186.             cvar        "cl_allowDownload"
  187.             rect        50 80 300 15
  188.                textalign    ITEM_ALIGN_RIGHT
  189.                textalignx    125 
  190.                textaligny    -1
  191.             textfont    "hud"
  192.             textscale    .45
  193.             forecolor    .12 .14 .08 1
  194.             backcolor    0 0 0 0
  195.                visible        1
  196.  
  197.             action 
  198.             { 
  199.                 play "sound/misc/menus/select.wav" ; 
  200.             }
  201.             mouseEnter 
  202.             { 
  203.                 play "sound/misc/menus/hilite1.wav" ; 
  204.                 setitemcolor allowdownload_multi backcolor .12 .14 .08 1
  205.                 setitemcolor allowdownload_multi forecolor .49 .56 .27 1
  206.             }
  207.               mouseExit 
  208.             { 
  209.                 setitemcolor allowdownload_multi forecolor .12 .14 .08 1
  210.                 setitemcolor allowdownload_multi backcolor 0 0 0 0
  211.             }
  212.         }
  213.  
  214.         itemDef 
  215.         {
  216.             name        window
  217.             text        "SOCKS5"
  218.             style        WINDOW_STYLE_FILLED
  219.             textfont    "hud"
  220.             textscale    .55
  221.             rect        50 97 240 18
  222.             textalign    1
  223.             textalignx    125
  224.             textaligny    0
  225.             forecolor    .12 .14 .08 1
  226.             backcolor    0 0 0 .25
  227.             visible        1
  228.             decoration
  229.         }
  230.  
  231.         itemDef 
  232.         {
  233.                name        "fullscreen_yesno"
  234.             style        WINDOW_STYLE_FILLED
  235.              type        ITEM_TYPE_YESNO
  236.             text        "SOCKS5 Active:"
  237.             cvar        "net_socksEnabled"
  238.             rect        50 120 240 15 
  239.               textalign    ITEM_ALIGN_RIGHT
  240.               textalignx    125
  241.               textaligny    -1
  242.             textfont    "hud"
  243.             textscale    .45
  244.             forecolor    .12 .14 .08 1
  245.               visible        1
  246.             
  247.             action 
  248.             { 
  249.                 play "sound/misc/menus/select.wav" ; 
  250.                 uiScript glCustom 
  251.             }
  252.             mouseEnter 
  253.             { 
  254.                 play "sound/misc/menus/hilite1.wav" ; 
  255.                 setitemcolor fullscreen_yesno backcolor .12 .14 .08 1
  256.                 setitemcolor fullscreen_yesno forecolor .49 .56 .27 1
  257.             }
  258.               mouseExit 
  259.             { 
  260.                 setitemcolor fullscreen_yesno forecolor .12 .14 .08 1
  261.                 setitemcolor fullscreen_yesno backcolor 0 0 0 0
  262.             }
  263.         }
  264.  
  265.         itemDef 
  266.         {
  267.               name            socksserver_field
  268.             group            createserver_options
  269.               type            ITEM_TYPE_EDITFIELD
  270.             style            WINDOW_STYLE_FILLED
  271.             text            "Server:"
  272.             cvar            "net_socksServer"
  273.             rect            50 140 300 15 
  274.             textalign        ITEM_ALIGN_RIGHT
  275.             textalignx        125
  276.             textaligny        -1
  277.             textfont        "hud"
  278.             textscale        .45
  279.              forecolor        .12 .14 .08 1
  280.             backcolor        0 0 0 0
  281.             visible            1 
  282.             maxchars        20
  283.             maxPaintChars    20
  284.  
  285.             action 
  286.             { 
  287.                 play "sound/misc/menus/select.wav" ; 
  288.             }
  289.  
  290.             mouseEnter
  291.             {
  292.                 play "sound/misc/menus/hilite1.wav" ; 
  293.                 setitemcolor socksserver_field backcolor .12 .14 .08 1
  294.                 setitemcolor socksserver_field forecolor .49 .56 .27 1
  295.             }
  296.  
  297.             mouseExit
  298.             {
  299.                 setitemcolor socksserver_field backcolor 0 0 0 0
  300.                 setitemcolor socksserver_field forecolor .12 .14 .08 1
  301.             }
  302.         }
  303.  
  304.         itemDef 
  305.         {
  306.               name            sockport_field
  307.             group            createserver_options
  308.               type            ITEM_TYPE_EDITFIELD
  309.             style            WINDOW_STYLE_FILLED
  310.             text            "Port:"
  311.             cvar            "net_socksPort"
  312.             rect            50 160 240 15 
  313.             textalign        ITEM_ALIGN_RIGHT
  314.             textalignx        125
  315.             textaligny        -1
  316.             textfont        "hud"
  317.             textscale        .45
  318.              forecolor        .12 .14 .08 1
  319.             backcolor        0 0 0 0
  320.             visible            1 
  321.             maxchars        15
  322.             maxPaintChars    15
  323.  
  324.             action 
  325.             { 
  326.                 play "sound/misc/menus/select.wav" ; 
  327.             }
  328.  
  329.             mouseEnter
  330.             {
  331.                 play "sound/misc/menus/hilite1.wav" ; 
  332.                 setitemcolor sockport_field backcolor .12 .14 .08 1
  333.                 setitemcolor sockport_field forecolor .49 .56 .27 1
  334.             }
  335.  
  336.             mouseExit
  337.             {
  338.                 setitemcolor sockport_field backcolor 0 0 0 0
  339.                 setitemcolor sockport_field forecolor .12 .14 .08 1
  340.             }
  341.         }
  342.  
  343.         itemDef 
  344.         {
  345.               name            sockusename_field
  346.             group            createserver_options
  347.               type            ITEM_TYPE_EDITFIELD
  348.             style            WINDOW_STYLE_FILLED
  349.             text            "User Name:"
  350.             cvar            "net_socksUsername"
  351.             rect            50 180 240 15 
  352.             textalign        ITEM_ALIGN_RIGHT
  353.             textalignx        125
  354.             textaligny        -1
  355.             textfont        "hud"
  356.             textscale        .45
  357.              forecolor        .12 .14 .08 1
  358.             backcolor        0 0 0 0
  359.             visible            1 
  360.             maxchars        22
  361.             maxPaintChars    22
  362.  
  363.             action 
  364.             { 
  365.                 play "sound/misc/menus/select.wav" ; 
  366.             }
  367.  
  368.             mouseEnter
  369.             {
  370.                 play "sound/misc/menus/hilite1.wav" ; 
  371.                 setitemcolor sockusename_field backcolor .12 .14 .08 1
  372.                 setitemcolor sockusename_field forecolor .49 .56 .27 1
  373.             }
  374.  
  375.             mouseExit
  376.             {
  377.                 setitemcolor sockusename_field backcolor 0 0 0 0
  378.                 setitemcolor sockusename_field forecolor .12 .14 .08 1
  379.             }
  380.         }
  381.  
  382.         itemDef 
  383.         {
  384.               name            sockpassword_field
  385.             group            createserver_options
  386.               type            ITEM_TYPE_PASSWORDFIELD
  387.             style            WINDOW_STYLE_FILLED
  388.             text            "Password:"
  389.             cvar            "net_socksPassword"
  390.             rect            50 200 240 15 
  391.             textalign        ITEM_ALIGN_RIGHT
  392.             textalignx        125
  393.             textaligny        -1
  394.             textfont        "hud"
  395.             textscale        .45
  396.              forecolor        .12 .14 .08 1
  397.             backcolor        0 0 0 0
  398.             visible            1 
  399.             maxchars        22
  400.             maxPaintChars    22
  401.  
  402.             action 
  403.             { 
  404.                 play "sound/misc/menus/select.wav" ; 
  405.             }
  406.  
  407.             mouseEnter
  408.             {
  409.                 play "sound/misc/menus/hilite1.wav" ; 
  410.                 setitemcolor sockpassword_field backcolor .12 .14 .08 1
  411.                 setitemcolor sockpassword_field forecolor .49 .56 .27 1
  412.             }
  413.  
  414.             mouseExit
  415.             {
  416.                 setitemcolor sockpassword_field backcolor 0 0 0 0
  417.                 setitemcolor sockpassword_field forecolor .12 .14 .08 1
  418.             }
  419.         }
  420.     }
  421. }
  422.